import React, { Component } from 'react';

class View extends Component {
    render(){
        console.log(this.props)
        return(
            <div>这是子组件内容{this.props.name}</div>
        )
    }
}
export default View;
